package mypackage.servicce.Impl;

import mypackage.bean.Admin;
import mypackage.dao.AdminDao;
import mypackage.dao.impl.AdminDaoImpl;
import mypackage.servicce.AdminService;

/**
 * @author YH925
 * @create 2021/12/12 21:14
 */
public class AdminServiceImpl implements AdminService {
    private final AdminDao dao = new AdminDaoImpl();
    @Override
    public Admin adminLogin(String username, String password) {
        return dao.adminLogin(username,password);
    }
}
